﻿using System;
using System.Collections.Generic;
using System.Text;

using SendLeaderMarking.Common.Interface;
using SendLeaderMarking.Common.Entity;
using System.Collections;

namespace SendLeaderMarking.Logic
{
    public class MarkingLogic : IMarking
    {
        public HistoryUserEntity GetHistoryMsg(string strTaskId)
        {
            DataHelper dataHelper = DataHelper.Instance();
            return dataHelper.Get<HistoryUserEntity>("Marking_GetHistoryMsg", strTaskId);
        }

        public IList GetHistoryMsgList(string strTaskId)
        {
            DataHelper dataHelper = DataHelper.Instance();
            return dataHelper.GetList("Marking_GetHistoryMsgList", strTaskId);
        }

        public IList GetIdeaMsgList(string strUserCode)
        {
            DataHelper dataHelper = DataHelper.Instance();
            return dataHelper.GetList("SendMarking_GetIdeaMsg", strUserCode);
        }
    }
}
